package Demo1;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 殇
 * Date: 2025-07-12
 * Time: 18:05
 */
public class OuterClass3 {
    public void method() {
        class InnerClass {
            public int x=1;
        }

        InnerClass inner = new InnerClass();
        System.out.println(inner.x);
    }
}
